package com.example.demo.service;

import com.alibaba.fastjson.JSONObject;
import org.springframework.stereotype.Service;

/**
 * @ClassName:UserService
 * @Description:用户信息接口
 * @Author:Deamer
 * @Date:2020/3/30 20:19
 **/
@Service
public interface UserService {
    //认证用户
    JSONObject getUserInfo(String username, String password);

    //查询用户名是否存在
    Boolean getUsername(String username);

}
